Skip to content

chore: add 90% into input amount preset#8008

Merged
infiniteflower merged 3 commits intomainfrom
chore/swaps-input-amount-preset-90
Feb 23, 2026
Merged

chore: add 90% into input amount preset#8008
infiniteflower merged 3 commits intomainfrom
chore/swaps-input-amount-preset-90

Conversation

@infiniteflower
Copy link
Contributor

@infiniteflower infiniteflower commented Feb 20, 2026

Explanation

Add 90% back into InputAmountPreset enum and also add token_amount_source to theInputValues enum.

References

Related to #7997
Related to #7987

Checklist

  • I've updated the test suite for new or updated code as appropriate
  • I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate
  • I've communicated my changes to consumers by updating changelogs for packages I've changed
  • I've introduced breaking changes in this PR and have prepared draft pull requests for clients and consumer packages to resolve them

Note

Low Risk
Adds a single enum value and a changelog entry; risk is limited to downstream consumers needing to handle the new preset value.

Overview
Restores a 90% option in the bridge-controller metrics InputAmountPreset enum by adding PERCENT_90 = '90%' alongside existing presets.

Updates packages/bridge-controller/CHANGELOG.md to document the re-addition of PERCENT_90 after it was previously replaced.

Written by Cursor Bugbot for commit ae80e8e. This will update automatically on new commits. Configure here.

@infiniteflower infiniteflower marked this pull request as ready for review February 20, 2026 16:32
@infiniteflower infiniteflower requested review from a team as code owners February 20, 2026 16:32
@infiniteflower infiniteflower marked this pull request as draft February 20, 2026 20:27
auto-merge was automatically disabled February 20, 2026 20:27

Pull request was converted to draft

cursor bot pushed a commit that referenced this pull request Feb 23, 2026
Correct PR reference from #8008 to #8019 in assets-controllers changelog

Co-authored-by: Juanmi <juanmigdr@users.noreply.github.com>
@infiniteflower infiniteflower marked this pull request as ready for review February 23, 2026 20:21
@infiniteflower infiniteflower added this pull request to the merge queue Feb 23, 2026
Merged via the queue into main with commit 8e8a653 Feb 23, 2026
309 checks passed
@infiniteflower infiniteflower deleted the chore/swaps-input-amount-preset-90 branch February 23, 2026 20:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants